<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>

</head>

<body class="yui-skin-sam">
<p><a href="#" id="loglink">Click here</a> to log a simple message.</p>

<script type="text/javascript" src="../../build/yuiloader/yuiloader.js"></script>
<script type="text/javascript">
var loader = new YAHOO.util.YUILoader();
loader.insert({
    require: ['fonts','dragdrop','logger'],
    base: '../../build/',

    onSuccess: function(loader) {
            YAHOO.util.Event.addListener(YAHOO.util.Dom.get("loglink"), "click", function(e) {
                YAHOO.util.Event.stopEvent(e);
                YAHOO.log("This is a simple log message.");
            });

            // Put a LogReader on your page
            this.myLogReader = new YAHOO.widget.LogReader();
    }
});
</script>
</body>
</html>
